#include "mainwindow.h"

#include <QApplication>
#include <QTextCodec>

int main(int argc, char *argv[])
{
    QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
    QApplication a(argc, argv);
    QTextCodec::setCodecForLocale(QTextCodec::codecForName("UTF-8"));

    //a.setWindowIcon(QIcon(":/main.ico"));
    MainWindow w;
    w.setWindowTitle(QObject::tr("myserialport"));
    w.show();


    return a.exec();

}
